package com.coffee.takeoutserver.dao;

import com.coffee.takeoutserver.bean.GoodsTypeInfo;
import com.coffee.takeoutserver.bean.GoodsTypeInfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface GoodsTypeInfoMapper {
    int countByExample(GoodsTypeInfoExample example);

    int deleteByExample(GoodsTypeInfoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(GoodsTypeInfo record);

    int insertSelective(GoodsTypeInfo record);

    List<GoodsTypeInfo> selectByExample(GoodsTypeInfoExample example);

    GoodsTypeInfo selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") GoodsTypeInfo record, @Param("example") GoodsTypeInfoExample example);

    int updateByExample(@Param("record") GoodsTypeInfo record, @Param("example") GoodsTypeInfoExample example);

    int updateByPrimaryKeySelective(GoodsTypeInfo record);

    int updateByPrimaryKey(GoodsTypeInfo record);
}